#ifndef __PARSE_H__
#define __PARSE_H__

#include "Predicate.h"
#include <vector>

class Parser
{
public:
	Parser();
	~Parser();

	static bool Parse(const std::string& line, Predicate** preds);

private:
	static bool AddName(const std::string& line, Predicate** currPred, unsigned int& head);
	static bool AddValue(const std::string& line, Predicate** currPred, unsigned int& head);
};

#endif //__PARSE_H__;